/* 导航栏制作 */
.nav ul {
  display: flex;
  justify-content: space-between;
  width: 1380px;
  height: 24px;
  margin: 24px auto 8px;
}
.nav ul li {
  line-height: 22px;
}
.nav ul li > a {
  font-size: 16px;
  font-weight: 400;
  color: #222226;
}
.nav ul .life span {
  display: inline-block;
  font-family: "icomoon";
  transform: rotate(90deg);
}
.nav ul .life span:hover {
  transform: rotate(270deg);
}
.advertisement1 {
  width: 1380px;
  margin: 0 auto;
}
/* 整个头条板块盒子 */
.top-news {
  display: flex;
  width: 1380px;
  height: 400px;
  margin: 0 auto;
  margin-top: 26px;
  margin-bottom: 24px;
  background-color: pink;
}

/* 头条左侧模块 */
.top-news .news-photo {
  width: 340px;
  height: 100%;
}
.top-news .news-photo .head-new {
  display: flex;
  width: 100%;
  margin: 0 0 16px;
}
.top-news .news-photo .head-new img {
  width: 24px;
  height: 24px;
  margin-right: 4px;
}
.top-news .news-photo .head-new h3,
.top-news .news-photo .news-content a {
  font-size: 18px;
  font-weight: 700;
  color: #222226;
}
.top-news .news-photo .news-content a {
  display: block;
  font-size: 16px;
  margin: 8px 0;
}
.top-news .news-photo .photo img {
  width: 340px;
  height: 188px;
}

.top-news .news-photo .news-small-content {
  font-size: 14px;
  margin-top: 6px;
}

/* 头条图片旁边的新闻内容 */
.top-news .news-photo-beside {
  width: 280px;
  height: 100%;
  background-color: yellow;
}
.top-news .news-photo-beside .right-left {
  display: flex;
  justify-content: end;
  padding: 0 24px;
}
.top-news .news-photo-beside .right-left > div {
  display: flex;
}
.top-news .news-photo-beside .right-left .left img,
.top-news .news-photo-beside .right-left .right img {
  width: 10px;
  height: 20px;
}
.top-news .news-photo-beside .right-left .left img {
  margin-right: 10px;
}

.top-news .news-photo-beside .news-photo-beside-content {
  padding: 0 24px;
}
.top-news .news-photo-beside .news-photo-beside-content li {
  margin-top: 24px;
}
.top-news .news-photo-beside .news-photo-beside-content li div:nth-child(1) a {
  color: #222226;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-news .news-photo-beside .news-photo-beside-content li div:nth-child(2) a {
  margin-top: 4px;
  font-size: 14px;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
}
